package com.a9development.jpolynomial;

import java.util.Vector;

public class Polynomial {
	private Vector<Monomial> p;
	
	public Polynomial(String p) {
		//TODO convert p to a Polynomial
		
	}
	
	public Polynomial(String p, NumberField f) {
		//TODO convert p to a Polynomial with a restriction on its field
		
	}
	
	public Polynomial(String p, int m) {
		//TODO convert p to a Polynomial in the field of integers modulo m
		
	}
	
	public void setPolynomial(String p) {
		//TODO convert p to a Polynomial (same code as default constructor)

	}
	
	public void add(Polynomial p) {
		
	}
	
	public void add(Monomial m) {
		
	}
	
	public void subtract(Polynomial p) {
		
	}
	
	public void subtract(Monomial m) {
		
	}
	
	public void multiply(Polynomial p) {
		
	}
	
	public void multiply(Monomial m) {
		
	}

	public boolean divisibleBy(Polynomial p) {
		
	}
	
	public boolean divisibleBy(Monomial m) {
		
	}
	
	public Polynomial GCD(Polynomial p) {

	}
	
	public Polynomial GCD(Monomial m) {

	}
	
	public Polynomial LT() {
		 
	}
	
}
